Optimal. Leaf size=61 \[ -\frac {a^5}{x}+5 a^4 b x+\frac {10}{3} a^3 b^2 x^3+2 a^2 b^3 x^5+\frac {5}{7} a b^4 x^7+\frac {b^5 x^9}{9} \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {270} \begin {gather*} 2 a^2 b^3 x^5+\frac {10}{3} a^3 b^2 x^3+5 a^4 b x-\frac {a^5}{x}+\frac {5}{7} a b^4 x^7+\frac {b^5 x^9}{9} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 270
Rubi steps
\begin {align*} \int \frac {\left (a+b x^2\right )^5}{x^2} \, dx &=\int \left (5 a^4 b+\frac {a^5}{x^2}+10 a^3 b^2 x^2+10 a^2 b^3 x^4+5 a b^4 x^6+b^5 x^8\right ) \, dx\\ &=-\frac {a^5}{x}+5 a^4 b x+\frac {10}{3} a^3 b^2 x^3+2 a^2 b^3 x^5+\frac {5}{7} a b^4 x^7+\frac {b^5 x^9}{9}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 61, normalized size = 1.00 \begin {gather*} -\frac {a^5}{x}+5 a^4 b x+\frac {10}{3} a^3 b^2 x^3+2 a^2 b^3 x^5+\frac {5}{7} a b^4 x^7+\frac {b^5 x^9}{9} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a+b x^2\right )^5}{x^2} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.71, size = 59, normalized size = 0.97 \begin {gather*} \frac {7 \, b^{5} x^{10} + 45 \, a b^{4} x^{8} + 126 \, a^{2} b^{3} x^{6} + 210 \, a^{3} b^{2} x^{4} + 315 \, a^{4} b x^{2} - 63 \, a^{5}}{63 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.13, size = 55, normalized size = 0.90 \begin {gather*} \frac {1}{9} \, b^{5} x^{9} + \frac {5}{7} \, a b^{4} x^{7} + 2 \, a^{2} b^{3} x^{5} + \frac {10}{3} \, a^{3} b^{2} x^{3} + 5 \, a^{4} b x - \frac {a^{5}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 56, normalized size = 0.92 \begin {gather*} \frac {b^{5} x^{9}}{9}+\frac {5 a \,b^{4} x^{7}}{7}+2 a^{2} b^{3} x^{5}+\frac {10 a^{3} b^{2} x^{3}}{3}+5 a^{4} b x -\frac {a^{5}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.39, size = 55, normalized size = 0.90 \begin {gather*} \frac {1}{9} \, b^{5} x^{9} + \frac {5}{7} \, a b^{4} x^{7} + 2 \, a^{2} b^{3} x^{5} + \frac {10}{3} \, a^{3} b^{2} x^{3} + 5 \, a^{4} b x - \frac {a^{5}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 55, normalized size = 0.90 \begin {gather*} \frac {b^5\,x^9}{9}-\frac {a^5}{x}+\frac {5\,a\,b^4\,x^7}{7}+\frac {10\,a^3\,b^2\,x^3}{3}+2\,a^2\,b^3\,x^5+5\,a^4\,b\,x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.13, size = 58, normalized size = 0.95 \begin {gather*} - \frac {a^{5}}{x} + 5 a^{4} b x + \frac {10 a^{3} b^{2} x^{3}}{3} + 2 a^{2} b^{3} x^{5} + \frac {5 a b^{4} x^{7}}{7} + \frac {b^{5} x^{9}}{9} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________